package com.medusa.aps.business.model.planingscheduing;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;

/**
 * @author: xh.yu
 * @createTime: 2023/08/24 09:25
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class EquipmentProcess {
    /**
     * 主键
     */
    private Integer id;

    /**
     * 设备id
     */
    private Long equipmentId;

    /**
     * 工序id
     */
    private Integer processId;
    /**
     * 工序号
     */
    private Integer processNumber;
    /**
     * 工序编码
     */
    @Schema(description = "工序编码")
    private String processCode;
    /**
     * 工序名称
     */
    private String processName;
    /**
     * 工艺路线id
     */
    private Integer processRouteId;
    /**
     * 辅助资料id
     */
    private Integer auxiliaryDataId;

    /**
     * 生产节拍
     */
    private Long productionBeat;

    /**
     * 加工批量
     */
    private Long processingBatch;
    /**
     * 工艺工序id
     */
    private Integer processProcessId;
    /**
     * 物料id
     */
    private Long materialId;
    /**
     * 物料编码
     */
    private String materialCode;
    /**
     * 物料名称
     */
    private String materialName;

    /**
     * 换型时间
     */
    private Long replacementTime;
    /**
     * 转运批量
     */
    private Long transshipmentBatch;
    /**
     * 转运时间
     */
    private Long transshipmentTime;
    /**
     * 加工内容
     */
    private String processingContent;

    /**
     * 设备&辅助资料排程开始时间
     */
    private LocalDateTime latestTime;

}
